<?php
if ($action == "do")
{
  $result = dbquery("DELETE FROM ".$db_prefix."charts WHERE id = '".$_GET['dellid']."'");
  redirect ($PHP_SELF."?func=entrys");
}
else
{
$id = $_GET['delid'];
echo "<center><b>".$locale['ctbs025']."</b><br>
<a href='".$PHP_SELF."?func=del&dellid=".$id."&action=do'>".$locale['ctbs026']."</a><br>
<a href='".$PHP_SELF."?func=entrys'>".$locale['ctbs027']."</a>";
}
?>
